package cn.zwz.data.controller;

import cn.zwz.basics.baseVo.Result;
import cn.zwz.basics.utils.ResultUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class WechatLoginController {
    @RequestMapping(value = "/loginOnWeChat", method = RequestMethod.GET)
    public Result<String> loginOnWechat(@RequestParam String userName, @RequestParam String password) {
        System.err.println(userName);
        return ResultUtil.success(userName);
    }
}
